#!/bin/bash
#
# SCRIPT PARA BACKUP FISICO DO BANCO DE DADOS USADO PARA
# O DATABASE ALERT ANALYZER
#

source ~/.bash_profile

export ORACLE_SID=alert

sqlplus "/ as sysdba" @/home/oracle/util/hot_backup.sql > /dev/null 2>&1
sqlplus "/ as sysdba" @/home/oracle/util/comandos_hot_backup.sql > /home/oracle/util/hot_backup.log 2>&1
